package com.github.admin.edu.security.jwt.server.controller;

import com.github.admin.edu.oauth.server.api.service.ServiceObjectIdManagerApi;
import com.github.admin.edu.security.jwt.server.service.SequenceManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-8-3
 */
@RestController
public class SequenceManagerController implements ServiceObjectIdManagerApi {

    @Autowired
    private SequenceManagerService service;

    @Override
    public String getObjectId(String obj) {
        return service.getObjectId(obj);
    }
}
